package com.yhos.platform.oopston.web.api.dto.shunfeng;

import com.yhos.platform.oopston.core.annotation.NotNullValid;
import io.swagger.annotations.ApiModelProperty;

public class ShunfengProductCreateDTO {

//		"product_list": [{
//        "picking_info": "87853856",
//                "quantity": "1",
//                "product_url": "https://xxxxxx/c/58a2be4c6b1eea5327ac6d00",
//                "description_cn": "连衣裙",
//                "description_en": "Dress x1",
//                "declare_value": "15.2",
//                "weight": "0.439",
//                "hs_code": "XXXXXXX"

    @ApiModelProperty("product_list 货物详细信息 不能为空")
    private String product_list;

    @ApiModelProperty(value = "货物数量", required = true)
    @NotNullValid(message = "货物数量不能为空")
    private String quantity;

    @ApiModelProperty(value = "货物URL", required = false)
    private String product_url;

    @ApiModelProperty(value = "货物（中文）报关品名", required = true)
    @NotNullValid(message = "货物（中文）报关品名不能为空")
    private String description_cn;

    @ApiModelProperty(value = "货物（英文）报关品名", required = true)
    @NotNullValid(message = "货物（英文）报关品名不能为空")
    private String description_en;

    @ApiModelProperty(value = "货物单价（不能小于0，单位USD）", required = true)
    @NotNullValid(message = "货物单价（不能小于0，单位USD）不能为空")
    private String declare_value;

    @ApiModelProperty(value = "货物单位重量（不能小于0, 单位KG）", required = true)
    @NotNullValid(message = "货物单位重量（不能小于0, 单位KG）不能为空")
    private String weight;

    @ApiModelProperty(value = "海关编码", required = false)
    private String hs_code;

    public String getQuantity() {
        return quantity;
    }

    public void setQuantity(String quantity) {
        this.quantity = quantity;
    }

    public String getProduct_url() {
        return product_url;
    }

    public void setProduct_url(String product_url) {
        this.product_url = product_url;
    }

    public String getDescription_cn() {
        return description_cn;
    }

    public void setDescription_cn(String description_cn) {
        this.description_cn = description_cn;
    }

    public String getDescription_en() {
        return description_en;
    }

    public void setDescription_en(String description_en) {
        this.description_en = description_en;
    }

    public String getDeclare_value() {
        return declare_value;
    }

    public void setDeclare_value(String declare_value) {
        this.declare_value = declare_value;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getHs_code() {
        return hs_code;
    }

    public void setHs_code(String hs_code) {
        this.hs_code = hs_code;
    }
}
